Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core)!: delegate overrideInitialEvents to makeCoreStore #445

Merged
merged 7 commits into from
Jan 30, 2024

Conversation

orionmiz
Copy link
Member

  • feat: add divideBy util
  • refactor: delegate overrideInitialEvents to makeCoreStore

Summary
Delegate overrideInitialEvents plugin hook to makeCoreStore so that plugin instances could exist only within makeCoreStore

Copy link

changeset-bot bot commented Jan 30, 2024

🦋 Changeset detected

Latest commit: a7dbbe5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
@stackflow/plugin-map-initial-activity Patch
@stackflow/plugin-google-analytics-4 Patch
@stackflow/plugin-stack-depth-change Patch
@stackflow/plugin-renderer-basic Patch
@stackflow/plugin-history-sync Patch
@stackflow/plugin-renderer-web Patch
@stackflow/compat-await-push Patch
@stackflow/plugin-basic-ui Patch
@stackflow/plugin-devtools Patch
@stackflow/plugin-preload Patch
@stackflow/react Patch
@stackflow/link Patch
@stackflow/core Patch
@stackflow/demo Patch
@stackflow/docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
stackflow-docs ✅ Ready (Inspect) Visit Preview Jan 30, 2024 9:44am

@orionmiz orionmiz merged commit a32a7e0 into main Jan 30, 2024
3 checks passed
@orionmiz orionmiz deleted the single-plugin-instances branch January 30, 2024 09:44

const isInitialActivityIgnored =
initialPushedEvents.length > 0 &&
initialPushedEventsByOption.length > 0 &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@orionmiz initialPushedEvents.length > 0 정도면 충분하다고 생각했는데 아래 조건은 어떤 용도로 들어간 걸까요??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants